package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-09-25
 */
@TableName("c_ele_spec")
public class EleSpec extends Model<EleSpec> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 电表规格
     */
	@TableField("ele_spec")
	private String eleSpec;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getEleSpec() {
		return eleSpec;
	}

	public void setEleSpec(String eleSpec) {
		this.eleSpec = eleSpec;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
